package com.fyi.springbootmongocomment.service;



import com.fyi.springbootmongocomment.pojo.Comment;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface CommentService {

    List<Comment> selectAll();

    long del(String _id);

    Integer add(Comment comment);

    void updateComment(Comment comment);

    Comment selectCommentById(String id);

    Page<Comment> findCommentListPageByParentid(String parentid, int page , int size);

    void updateCommentLikenumThumbup(String id);
}
